<script type="text/javascript" src="http://localhost/public/js/them1/dropmenu.js"></script>
<div align="left" class="">
    <table cellpadding="0" cellspacing="0" width="100%" class="table_header">
        <col width="220">
        <col width="500">
        <tr>
            <td valign="top">
                <object width="250" height="100">
                	<param  name="wmode" value="transparent" />
                    <embed width="250" height="100" wmode="transparent"  src="http://localhost/public/images/them1/header/logo_globe.swf"/>
                </object>
            </td>
            <td valign="top">
                <div class="link_top" align="right" style="height: 0px;">
                        <a>Quản lý dự án</a>|
                        <a>Nhà thông minh</a>|
                        <a href="/maccathue/" >Mặc cả thuê</a>
                </div>
                                <div class="link_top" align="right">
                    <a href="http://localhost/maccathue/login/" title="Đăng nhập">Đăng nhập </a>|
                    <a href="/maccathue/dangkythanhvien/" title="Đăng ký">Đăng ký </a>
                </div>

                
    <div id="box-search-top">
        <div align="center">
            <form  action="/search/" method="get" name="frmSearch">
                <table cellspacing="0" cellpadding="0" border="0" id="table1" style="border-collapse: collapse;;-moz-border-radius: 5px; -webkit-border-radius: 5px; border: 1px solid #cacaca; background-color:#ffffff;" >
                    <tbody>
                        <tr>
                            <td align="right" id="keyStatus" class="searchLeftOff" title="Bật/Tắt bộ gõ tiếng Việt"  onclick="changeKeyboard('keyStatus');" style="border-right:1px solid #cacaca;">
                                <a href="javascript:void(0);">
                                    <img border="0" src="http://localhost/public/images/form/spacer.gif">
                                </a>
                            </td>
                            <td width="250" class="searchText">
                                <input type="text" style="width: 420px;height:30px;padding:1px 10px;background:none repeat top 0 0 transparent;border:medium none;font-size: 12px;" onfocus="javascript:if(this.value=='Nhập từ khóa tìm kiếm'){this.value='';};" onblur="javascript:if(this.value==''){this.value='Nhập từ khóa tìm kiếm';};" value="Nhập từ khóa tìm kiếm" name="keyword" id="input_searchword">
                            </td>
                            <td width="36" onclick="javascript:return doSubmit(0);" class="searchBtn">
                                <img src="http://localhost/public/images/form/icon_search_2.gif">
                            </td>
                        </tr>
                    </tbody>
                </table>
            </form>
        </div>
    </div>
            </td>
        </tr>
    </table>



</div>
<div id="tabMenu">
    <div id="clear"></div>
    <ul>
        <li id="home_icon"><a href="http://localhost">&nbsp;</a></li>
                    <li class="menu_divider cpointer">
                <a href="http://localhost/danhmuc/1/may-tinh.html" onmouseout="delayhidemenu()" onmouseover="dropdownmenu(this, event, menu1, '150px')"  ><span>Máy tính</span></a>
            </li>
                    <li class="menu_divider cpointer">
                <a href="http://localhost/danhmuc/7/thiet-bi-van-phong.html" onmouseout="delayhidemenu()" onmouseover="dropdownmenu(this, event, menu7, '150px')"  ><span>Thiết bị văn phòng</span></a>
            </li>
                    <li class="menu_divider cpointer">
                <a href="http://localhost/danhmuc/45/an-ninh--vien-thong.html" onmouseout="delayhidemenu()" onmouseover="dropdownmenu(this, event, menu45, '150px')"  ><span>An ninh - Viễn thông</span></a>
            </li>
                    <li class="menu_divider cpointer">
                <a href="http://localhost/danhmuc/3/dien-lanh.html" onmouseout="delayhidemenu()" onmouseover="dropdownmenu(this, event, menu3, '150px')"  ><span>Điện lạnh</span></a>
            </li>
                    <li class="menu_divider cpointer">
                <a href="http://localhost/danhmuc/2/dien-tu.html" onmouseout="delayhidemenu()" onmouseover="dropdownmenu(this, event, menu2, '150px')"  ><span>Điện tử</span></a>
            </li>
                    <li class="menu_divider cpointer">
                <a href="http://localhost/danhmuc/8/do-gia-dung.html" onmouseout="delayhidemenu()" onmouseover="dropdownmenu(this, event, menu8, '150px')"  ><span>Đồ gia dụng</span></a>
            </li>
                    <li class="menu_divider cpointer">
                <a href="http://localhost/danhmuc/4/am-thanh.html" onmouseout="delayhidemenu()" onmouseover="dropdownmenu(this, event, menu4, '150px')"  ><span>Âm thanh</span></a>
            </li>
                    <li class="menu_divider cpointer">
                <a href="http://localhost/danhmuc/6/mobile.html" onmouseout="delayhidemenu()" onmouseover="dropdownmenu(this, event, menu6, '150px')"  ><span>Mobile</span></a>
            </li>
                    <li class="menu_divider cpointer">
                <a href="http://localhost/danhmuc/5/ky-thuat-so.html" onmouseout="delayhidemenu()" onmouseover="dropdownmenu(this, event, menu5, '150px')"  ><span>Kỹ thuật số</span></a>
            </li>
                <li class="menu_divider cpointer">
            <a href="http://localhost/tintuc/">
                Tin tức
            </a>
        </li>
    </ul>
    <div class="clear"></div>
</div>
<script type="text/javascript">
                    var menu1 = [];
                            menu1[0] = '<a href="http://localhost/danhmuc/10/may-tinh-dong-bo.html">Máy tính đồng bộ</a>';
                            menu1[1] = '<a href="http://localhost/danhmuc/12/may-chu.html">Máy chủ</a>';
                            menu1[2] = '<a href="http://localhost/danhmuc/11/may-tinh-bang.html">Máy tính bảng</a>';
                            menu1[3] = '<a href="http://localhost/danhmuc/9/may-tinh-xach-tay.html">Máy tính xách tay</a>';
                            menu1[4] = '<a href="http://localhost/danhmuc/13/linh-kien-may-tinh.html">Linh kiện máy tính &raquo;</a>';
                                    var menu2 = [];
                            menu2[0] = '<a href="http://localhost/danhmuc/17/tivi-3d.html">Tivi 3D</a>';
                            menu2[1] = '<a href="http://localhost/danhmuc/18/tivi-led.html">Tivi LED</a>';
                            menu2[2] = '<a href="http://localhost/danhmuc/19/tivi-lcd.html">Tivi LCD</a>';
                            menu2[3] = '<a href="http://localhost/danhmuc/20/tivi-pasma.html">Tivi Pasma</a>';
                            menu2[4] = '<a href="http://localhost/danhmuc/21/tivi-crt--slimfit.html">Tivi CRT & Slimfit</a>';
                            menu2[5] = '<a href="http://localhost/danhmuc/22/hd-player.html">HD Player</a>';
                                    var menu3 = [];
                            menu3[0] = '<a href="http://localhost/danhmuc/24/may-giat.html">Máy giặt</a>';
                            menu3[1] = '<a href="http://localhost/danhmuc/23/dieu-hoa.html">Điều hòa</a>';
                            menu3[2] = '<a href="http://localhost/danhmuc/25/tu-lanh.html">Tủ lạnh</a>';
                            menu3[3] = '<a href="http://localhost/danhmuc/26/tu-dong.html">Tủ đông</a>';
                            menu3[4] = '<a href="http://localhost/danhmuc/27/may-say.html">Máy sấy</a>';
                            menu3[5] = '<a href="http://localhost/danhmuc/28/tu-mat.html">Tủ mát</a>';
                            menu3[6] = '<a href="http://localhost/danhmuc/29/phu-kien.html">Phụ kiện</a>';
                                    var menu4 = [];
                            menu4[0] = '<a href="http://localhost/danhmuc/30/dan-am-thanh.html">Dàn âm thanh</a>';
                            menu4[1] = '<a href="http://localhost/danhmuc/31/loa.html">Loa</a>';
                            menu4[2] = '<a href="http://localhost/danhmuc/32/amply.html">Amply</a>';
                            menu4[3] = '<a href="http://localhost/danhmuc/33/dau-dvdcd.html">Đầu DVD-CD</a>';
                            menu4[4] = '<a href="http://localhost/danhmuc/34/phu-kien-am-thanh.html">Phụ kiện âm thanh</a>';
                                    var menu7 = [];
                            menu7[0] = '<a href="http://localhost/danhmuc/44/ups-bo-luu-dien.html"> (UPS) - Bộ lưu điện</a>';
                            menu7[1] = '<a href="http://localhost/danhmuc/35/may-chieu.html">Máy chiếu</a>';
                            menu7[2] = '<a href="http://localhost/danhmuc/36/may-photocopy.html">Máy photocopy</a>';
                            menu7[3] = '<a href="http://localhost/danhmuc/42/may-khoan-chung-tu.html">Máy khoan chứng từ</a>';
                            menu7[4] = '<a href="http://localhost/danhmuc/43/may-cat-decal.html">Máy cắt decal</a>';
                            menu7[5] = '<a href="http://localhost/danhmuc/41/may-huy-tai-lieu.html">Máy hủy tài liệu</a>';
                            menu7[6] = '<a href="http://localhost/danhmuc/40/may-scan.html">Máy scan</a>';
                            menu7[7] = '<a href="http://localhost/danhmuc/39/may-fax.html">Máy fax</a>';
                            menu7[8] = '<a href="http://localhost/danhmuc/38/may-in.html">Máy in</a>';
                            menu7[9] = '<a href="http://localhost/danhmuc/37/may-dem-tien.html">Máy đếm tiền</a>';
                            menu7[10] = '<a href="http://localhost/danhmuc/48/phu-kien.html">Phụ kiện &raquo;</a>';
                                    var menu45 = [];
                            menu45[0] = '<a href="http://localhost/danhmuc/46/camera-giam-sat.html">Camera giám sát</a>';
                            menu45[1] = '<a href="http://localhost/danhmuc/47/dau-ghi-hinh.html">Đầu ghi hình</a>';
                            menu45[2] = '<a href="http://localhost/danhmuc/50/ban-dieu-khien.html">Bàn điều khiển</a>';
                            menu45[3] = '<a href="http://localhost/danhmuc/51/video-server.html">Video Server</a>';
                            menu45[4] = '<a href="http://localhost/danhmuc/54/tong-dai.html">Tổng đài</a>';
                                    var menu8 = [];
                            menu8[0] = '<a href="http://localhost/danhmuc/52/bo-kich-dien.html">Bộ kích điện</a>';
                            menu8[1] = '<a href="http://localhost/danhmuc/53/ac-quy.html">Ắc quy</a>';
                            menu8[2] = '<a href="http://localhost/danhmuc/55/may-hut-bui.html">Máy hút bụi</a>';
                            menu8[3] = '<a href="http://localhost/danhmuc/56/may-hut-am.html">Máy hút ẩm</a>';
                                    var menu6 = [];
                            menu6[0] = '<a href="http://localhost/danhmuc/57/dien-thoai.html">Điện thoại</a>';
                                    var menu5 = [];
    </script>
<script language="javascript">

    function changeKeyboard(id) {
        if (document.getElementById(id).className == "searchLeftOff"){
            //setMethod(1);
            Mudim.SetMethod(2);
            document.getElementById(id).className = "searchLeftOn";
        }
        else{
            //setMethod(-1);
            Mudim.SetMethod(0);
            document.getElementById(id).className = "searchLeftOff";
        }
        return true;
    }
    function doSubmit(){
        if (document.frmSearch.keyword.value.length<3 || document.frmSearch.keyword.value == "Nhập từ khóa tìm kiếm") {
            alert("Từ khóa không được để trống và phải dài hơn 2 ký tự!");
            document.frmSearch.keyword.focus();
            return false;
        }
        document.frmSearch.submit();
        return;
    }
    function OnOf(obj) {
        obj = document.getElementById(obj);
        if(obj.className=="Header")
            obj.className="HeaderPlus";
        else
            obj.className="Header";
    }


</script>
